<style scoped>
  section {
    background: #000;
  }
</style>
<template>
  <section>
    首页
  </section>
</template>

<script>
export default {
  mounted () {
    this.$http.get('api', {
      id: 2
    })
  }
}
</script>
